home *** CD-ROM | disk | FTP | other *** search
/ New York Yankees - Interactive Yearbook / New York Yankees: Interactive Yearbook.iso / mac / xtras / AlphaMania / AlphaMania.rsrc / TEXT_10000_IDR_SCALEM.txt < prev    next >
Text File  |  1998-04-08  |  2KB  |  47 lines

  1. Scale Effect
  2. ___________________ Version 1.0 for AlphaMania 2
  3. ___________________ Media Lab Xtras  
  4. ___________________  copyright 1997,  As Is Software, Inc.
  5.  
  6. Effect Symbol: #scale
  7.  
  8. _Properties_________Type_______Value____  
  9. #animMode          symbol     #static, #range, #infinite, #follow
  10. #numFrames         integer    1+
  11. #interpolation     integer    0, 1, 2
  12. #percentage        integer    1+,  100 = no scale       
  13. #startPercentage   integer    1+,  100 = no scale    
  14. #endPercentage     integer    1+,  100 = no scale    
  15. #width             integer    any    
  16. #height            integer    any    
  17. #startWidth        integer    any    
  18. #startHeight       integer    any    
  19. #endWidth          integer    any        
  20. #endHeight         integer    any        
  21.  
  22.  
  23.  
  24. Custom Modes
  25.  
  26. #Follow
  27.      The #follow mode is a custom mode for the scale effect only.  In this mode, the alphamaniac will scale to the current sprite rectangle.  This mode replicates the standard Director sprite scaling.  Optionally, #follow mode can be set up to scale based on a percentage of the sprite rectangle by using the #percentage parameter. 
  28.  
  29. Custom Functions
  30.  
  31. Follow
  32.   Follow( sprite x, #scale)
  33.   Follow( sprite x, #scale, interpolation)
  34.   Follow( sprite x, #scale, interpolation, percentage)
  35.      This is the mode accessor function for accessing the ├½follow├¡ mode.
  36.  
  37. InterpolateNow
  38.   InterpolateNow( sprite x, #scale)
  39.      This function causes the sprite to immediately redraw interpolated, but does not change the flag for the sprites overall interpolation setting.
  40.  
  41. SetInterpolation
  42.   SetInterpolation(sprite x, #scale, interpolation)
  43.  
  44.  
  45. Technical Support E-mail:  xtra-help@medialab.com
  46.  
  47.      www.medialab.com